package com.anlogic.sdk.ui.tests.uc2.projectcreate.driverapp;
import static org.junit.Assert.*;
import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
import org.eclipse.swtbot.forms.finder.SWTFormsBot;
import org.eclipse.swtbot.swt.finder.utils.SWTBotPreferences;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import com.anlogic.sdk.ui.tests.utils.DriverAppUtitls;
import com.anlogic.sdk.ui.tests.utils.WorkspaceUtils;
public class Dr1v90_PL_DRIVER_AXI_QUAD_SPI_Test {
	private static SWTWorkbenchBot bot;
	private static SWTFormsBot fbot;
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		bot = new SWTWorkbenchBot();
		fbot=new SWTFormsBot();
		bot.sleep(2000);
		SWTBotPreferences.TIMEOUT = 10000;
SWTBotPreferences.PLAYBACK_DELAY = 500;

	}

	@Before
	public void setUp() throws Exception {
		WorkspaceUtils.resetworkbench(bot);
	}
	@After
	public void tearDown() throws Exception {
		WorkspaceUtils.cleanWorkspace();
	}
	@Test
	public void dr1m90_QSPI_X1_3BYTE_INTR_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.dr1v_driverAppTest(bot, fbot, "rpu", "QSPI_X1_3BYTE_INTR",4);
	}

	@Test
	public void dr1m90_QSPI_X1_3BYTE_POLLED_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.dr1v_driverAppTest(bot, fbot, "rpu", "QSPI_X1_3BYTE_POLLED",4);
	}

	@Test
	public void dr1m90_QSPI_X1_4BYTE_INTR_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.dr1v_driverAppTest(bot, fbot, "rpu", "QSPI_X1_4BYTE_INTR",4);
	}
	@Test
	public void dr1m90_QSPI_X1_4BYTE_POLLED_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.dr1v_driverAppTest(bot, fbot, "rpu", "QSPI_X1_4BYTE_POLLED",4);
	}
	@Test
	public void dr1m90_QSPI_X1_INTR_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.dr1v_driverAppTest(bot, fbot, "rpu", "QSPI_X1_INTR",4);
	}
	@Test
	public void dr1m90_QSPI_X1_POLLED_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.dr1v_driverAppTest(bot, fbot, "rpu", "QSPI_X1_POLLED",4);
	}
	@Test
	public void dr1m90_QSPI_X2_3BYTE_POLLED_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.dr1v_driverAppTest(bot, fbot, "rpu", "QSPI_X2_3BYTE_POLLED",4);
	}
	@Test
	public void dr1m90_QSPI_X4_3BYTE_POLLED_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.dr1v_driverAppTest(bot, fbot, "rpu", "QSPI_X4_3BYTE_POLLED",4);
	}






}
